do have to write main function as a first function in c